[INFO] fetching crate proxy-stream 0.0.2...
[INFO] fixing proxy-stream-0.0.2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate proxy-stream 0.0.2 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate proxy-stream 0.0.2
[INFO] finished tweaking crates.io crate proxy-stream 0.0.2
[INFO] tweaked toml for crates.io crate proxy-stream 0.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate proxy-stream 0.0.2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate proxy-stream 0.0.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 47ab7acc0755e5a3e6038571dbab758c3bdd3c03807a0b2a50c5c8fa4dbd1c13
[INFO] running `Command { std: "docker" "start" "47ab7acc0755e5a3e6038571dbab758c3bdd3c03807a0b2a50c5c8fa4dbd1c13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "47ab7acc0755e5a3e6038571dbab758c3bdd3c03807a0b2a50c5c8fa4dbd1c13" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "47ab7acc0755e5a3e6038571dbab758c3bdd3c03807a0b2a50c5c8fa4dbd1c13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "47ab7acc0755e5a3e6038571dbab758c3bdd3c03807a0b2a50c5c8fa4dbd1c13" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking socket2 v0.5.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]     Checking tokio v1.32.0
[INFO] [stderr]     Checking proxy-stream v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl AsyncSocket` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> src/lib.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |     ) -> Result<impl AsyncSocket, ProxyStreamError> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> src/lib.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         &self,
[INFO] [stdout]    |         ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]   --> src/lib.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |         stream: impl AsyncSocket,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 |         addr: impl ToSocketDestination,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 84 ~     pub async fn connect<T: AsyncSocket, U: ToSocketDestination>(
[INFO] [stdout] 85 |         &self,
[INFO] [stdout] 86 ~         stream: T,
[INFO] [stdout] 87 ~         addr: U,
[INFO] [stdout] 88 ~     ) -> Result<impl AsyncSocket + use<T, U>, ProxyStreamError> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl AsyncSocket` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/socks.rs:233:17
[INFO] [stdout]     |
[INFO] [stdout] 233 |     ) -> Result<impl AsyncSocket, ProxyStreamError> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/socks.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/socks.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |         mut socket: impl AsyncSocket,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 231 |         command: Command,
[INFO] [stdout] 232 |         addr: impl ToSocketDestination,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 228 ~     pub async fn connect<T: AsyncSocket, U: ToSocketDestination>(
[INFO] [stdout] 229 |         &self,
[INFO] [stdout] 230 ~         mut socket: T,
[INFO] [stdout] 231 |         command: Command,
[INFO] [stdout] 232 ~         addr: U,
[INFO] [stdout] 233 ~     ) -> Result<impl AsyncSocket + use<T, U>, ProxyStreamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/client.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl AsyncSocket` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> src/lib.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |     ) -> Result<impl AsyncSocket, ProxyStreamError> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> src/lib.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         &self,
[INFO] [stdout]    |         ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]   --> src/lib.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |         stream: impl AsyncSocket,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 |         addr: impl ToSocketDestination,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 84 ~     pub async fn connect<T: AsyncSocket, U: ToSocketDestination>(
[INFO] [stdout] 85 |         &self,
[INFO] [stdout] 86 ~         stream: T,
[INFO] [stdout] 87 ~         addr: U,
[INFO] [stdout] 88 ~     ) -> Result<impl AsyncSocket + use<T, U>, ProxyStreamError> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl AsyncSocket` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/socks.rs:233:17
[INFO] [stdout]     |
[INFO] [stdout] 233 |     ) -> Result<impl AsyncSocket, ProxyStreamError> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/socks.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/socks.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |         mut socket: impl AsyncSocket,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 231 |         command: Command,
[INFO] [stdout] 232 |         addr: impl ToSocketDestination,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 228 ~     pub async fn connect<T: AsyncSocket, U: ToSocketDestination>(
[INFO] [stdout] 229 |         &self,
[INFO] [stdout] 230 ~         mut socket: T,
[INFO] [stdout] 231 |         command: Command,
[INFO] [stdout] 232 ~         addr: U,
[INFO] [stdout] 233 ~     ) -> Result<impl AsyncSocket + use<T, U>, ProxyStreamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/server.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.49s
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> examples/server.rs:14:66
[INFO] [stdout]     |
[INFO] [stdout]  10 |           let stream = listener.accept().await?;
[INFO] [stdout]     |               ------   ------------------------
[INFO] [stdout]     |               |        |                 |
[INFO] [stdout]     |               |        |                 this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |               |        |                 `#2` will be dropped later as of Edition 2024
[INFO] [stdout]     |               |        this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               |        `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |               |        `__awaitee` calls a custom destructor
[INFO] [stdout]     |               |        `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |               `stream` calls a custom destructor
[INFO] [stdout]     |               `stream` will be dropped later as of Edition 2024
[INFO] [stdout]  11 |           let interrupted_stream = ProxyStream::new(ProxyType::SOCKS5).accept(stream.0).await?;
[INFO] [stdout]     |                                    -----------------------------------------------------------
[INFO] [stdout]     |                                    |                                                    |
[INFO] [stdout]     |                                    |                                                    this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]     |                                    |                                                    `#5` will be dropped later as of Edition 2024
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                    `#3` will be dropped later as of Edition 2024
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                                    `#4` will be dropped later as of Edition 2024
[INFO] [stdout]  12 |           let Ok(socket) = (match interrupted_stream.addr() {
[INFO] [stdout]     |  __________________________-
[INFO] [stdout]  13 | |             DestinationAddress::Domain(host, port) => {
[INFO] [stdout]  14 | |                 TcpStream::connect(format!("{}:{}", host, port)).await
[INFO] [stdout]     | |                 -------------------------------------------------^^^^^
[INFO] [stdout]     | |                 |                                                |
[INFO] [stdout]     | |                 |                                                this value will be stored in a temporary; let us call it `#13`
[INFO] [stdout]     | |                 |                                                up until Edition 2021 `#13` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     | |                 |                                                this value will be stored in a temporary; let us call it `#9`
[INFO] [stdout]     | |                 |                                                `#9` will be dropped later as of Edition 2024
[INFO] [stdout]     | |                 this value will be stored in a temporary; let us call it `#8`
[INFO] [stdout]     | |                 `#8` will be dropped later as of Edition 2024
[INFO] [stdout]  15 | |             }
[INFO] [stdout]     | |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]  16 | |             DestinationAddress::Ip(addr) => TcpStream::connect(addr).await,
[INFO] [stdout]     | |                                             ------------------------------
[INFO] [stdout]     | |                                             |                        |
[INFO] [stdout]     | |                                             |                        this value will be stored in a temporary; let us call it `#11`
[INFO] [stdout]     | |                                             |                        `#11` will be dropped later as of Edition 2024
[INFO] [stdout]     | |                                             this value will be stored in a temporary; let us call it `#10`
[INFO] [stdout]     | |                                             `#10` will be dropped later as of Edition 2024
[INFO] [stdout]  17 | |         }) else {
[INFO] [stdout]     | |          -
[INFO] [stdout]     | |          |
[INFO] [stdout]     | |__________this value will be stored in a temporary; let us call it `#7`
[INFO] [stdout]     |            `#7` will be dropped later as of Edition 2024
[INFO] [stdout]  18 | /             interrupted_stream
[INFO] [stdout]  19 | |                 .replay_error(proxy_stream::ReplayError::GeneralSocksServerFailure)
[INFO] [stdout]  20 | |                 .await?;
[INFO] [stdout]     | |                      -
[INFO] [stdout]     | |______________________|
[INFO] [stdout]     | |______________________this value will be stored in a temporary; let us call it `#6`
[INFO] [stdout]     |                        `#6` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  23 | |         interrupted_stream.serve(socket).await?;
[INFO] [stdout]     | |         --------------------------------------
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         this value will be stored in a temporary; let us call it `#12`
[INFO] [stdout]     | |         `#12` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout] note: `stream` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/io/poll_evented.rs:251:1
[INFO] [stdout]     |
[INFO] [stdout] 251 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/io/poll_evented.rs:251:1
[INFO] [stdout]     |
[INFO] [stdout] 251 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/io/poll_evented.rs:251:1
[INFO] [stdout]     |
[INFO] [stdout] 251 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `#5` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#7` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/io/poll_evented.rs:251:1
[INFO] [stdout]     |
[INFO] [stdout] 251 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#9` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/io/poll_evented.rs:251:1
[INFO] [stdout]     |
[INFO] [stdout] 251 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#11` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/io/poll_evented.rs:251:1
[INFO] [stdout]     |
[INFO] [stdout] 251 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: proxy-stream v0.0.2 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking proxy-stream v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0597]: `socks` does not live long enough
[INFO] [stdout]    --> src/lib.rs:92:17
[INFO] [stdout]     |
[INFO] [stdout]  88 |     ) -> Result<impl AsyncSocket, ProxyStreamError> {
[INFO] [stdout]     |          ------------------------------------------ return type of async function `Result<impl AsyncSocket, ProxyStreamError>` contains a lifetime `'1`
[INFO] [stdout] ...
[INFO] [stdout]  91 |                 let socks = Socks5::new(vec![AuthMethod::Noauth])?;
[INFO] [stdout]     |                     ----- binding `socks` declared here
[INFO] [stdout]  92 |                 socks.connect(stream, socks::Command::Connect, addr).await
[INFO] [stdout]     |                 ^^^^^-----------------------------------------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 borrowed value does not live long enough
[INFO] [stdout]     |                 argument requires that `socks` is borrowed for `'1`
[INFO] [stdout]  93 |             }
[INFO] [stdout]     |             - `socks` dropped here while still borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/lib.rs:92:17
[INFO] [stdout]     |
[INFO] [stdout]  92 |                 socks.connect(stream, socks::Command::Connect, addr).await
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/socks.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |         mut socket: impl AsyncSocket,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 231 |         command: Command,
[INFO] [stdout] 232 |         addr: impl ToSocketDestination,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/socks.rs:228:25
[INFO] [stdout]     |
[INFO] [stdout] 228 ~     pub async fn connect<T: AsyncSocket, U: ToSocketDestination>(
[INFO] [stdout] 229 |         &self,
[INFO] [stdout] 230 ~         mut socket: T,
[INFO] [stdout] 231 |         command: Command,
[INFO] [stdout] 232 ~         addr: U,
[INFO] [stdout] 233 ~     ) -> Result<impl AsyncSocket + use<T, U>, ProxyStreamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `proxy-stream` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0597]: `socks` does not live long enough
[INFO] [stdout]    --> src/lib.rs:92:17
[INFO] [stdout]     |
[INFO] [stdout]  88 |     ) -> Result<impl AsyncSocket, ProxyStreamError> {
[INFO] [stdout]     |          ------------------------------------------ return type of async function `Result<impl AsyncSocket, ProxyStreamError>` contains a lifetime `'1`
[INFO] [stdout] ...
[INFO] [stdout]  91 |                 let socks = Socks5::new(vec![AuthMethod::Noauth])?;
[INFO] [stdout]     |                     ----- binding `socks` declared here
[INFO] [stdout]  92 |                 socks.connect(stream, socks::Command::Connect, addr).await
[INFO] [stdout]     |                 ^^^^^-----------------------------------------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 borrowed value does not live long enough
[INFO] [stdout]     |                 argument requires that `socks` is borrowed for `'1`
[INFO] [stdout]  93 |             }
[INFO] [stdout]     |             - `socks` dropped here while still borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/lib.rs:92:17
[INFO] [stdout]     |
[INFO] [stdout]  92 |                 socks.connect(stream, socks::Command::Connect, addr).await
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/socks.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |         mut socket: impl AsyncSocket,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 231 |         command: Command,
[INFO] [stdout] 232 |         addr: impl ToSocketDestination,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/socks.rs:228:25
[INFO] [stdout]     |
[INFO] [stdout] 228 ~     pub async fn connect<T: AsyncSocket, U: ToSocketDestination>(
[INFO] [stdout] 229 |         &self,
[INFO] [stdout] 230 ~         mut socket: T,
[INFO] [stdout] 231 |         command: Command,
[INFO] [stdout] 232 ~         addr: U,
[INFO] [stdout] 233 ~     ) -> Result<impl AsyncSocket + use<T, U>, ProxyStreamError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `proxy-stream` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "47ab7acc0755e5a3e6038571dbab758c3bdd3c03807a0b2a50c5c8fa4dbd1c13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47ab7acc0755e5a3e6038571dbab758c3bdd3c03807a0b2a50c5c8fa4dbd1c13", kill_on_drop: false }`
[INFO] [stdout] 47ab7acc0755e5a3e6038571dbab758c3bdd3c03807a0b2a50c5c8fa4dbd1c13
